﻿<%@ Page Title="" Language="C#" MasterPageFile="~/MasterPage.master" AutoEventWireup="true" CodeFile="Good1.aspx.cs" Inherits="Good1" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" Runat="Server">
    <style type="text/css">
    .auto-style7 {
        width: 532px;
        margin-right: 183px;
    }
    .auto-style8 {}
    .auto-style9 {}
        .auto-style12 {}
    </style>
</asp:Content>
<asp:Content ID="Content3" ContentPlaceHolderID="ContentPlaceHolder2" Runat="Server">
    <table class="auto-style6 auto-style7" style="font-family: 宋体, Arial, Helvetica, sans-serif; font-size: large">
    <tr>
        <td class="auto-style12">商品编号:<asp:TextBox ID="txtID" runat="server"></asp:TextBox>
        </td>
    </tr>
    <tr>
        <td>商品名称:<asp:TextBox ID="txtName" runat="server"></asp:TextBox>
        </td>
    </tr>
    <tr>
        <td>商品价格:<asp:TextBox ID="txtPrice" runat="server"></asp:TextBox>
        </td>
    </tr>
    <tr>
        <td>商品描述:<asp:TextBox ID="txtDesc" runat="server"></asp:TextBox>
        </td>
    </tr>
    <tr>
        <td>库存数量:<asp:TextBox ID="txtNum" runat="server"></asp:TextBox>
        </td>
    </tr>
    <tr>
        <td>供应商编号:<asp:TextBox ID="txtProID" runat="server" CssClass="auto-style8" Width="121px"></asp:TextBox>
        </td>
    </tr>
    <tr>
        <td class="auto-style10">生产日期:<asp:DropDownList ID="DropDownList1" runat="server" CssClass="auto-style8" Height="16px" Width="59px">
            </asp:DropDownList>
            年<asp:DropDownList ID="DropDownList2" runat="server" CssClass="auto-style9" Width="57px">
            </asp:DropDownList>
            月<asp:DropDownList ID="DropDownList3" runat="server" CssClass="auto-style9" Width="30px">
            </asp:DropDownList>
            日</td>
    </tr>
    <tr>
        <td>保质期:<asp:TextBox ID="txtTodate" runat="server"></asp:TextBox>
        </td>
    </tr>
    <tr>
        <td>
            <asp:Button ID="btnInsert" runat="server" CssClass="auto-style7" OnClick="btnInsert_Click" Text="录入" Width="63px" />
            <asp:Button ID="btnQuxiao" runat="server" OnClick="btnQuxiao_Click" Text="取消" />
            <br />
            <asp:SqlDataSource ID="SqlDataSource1" runat="server" ConnectionString="<%$ ConnectionStrings:SupermarketConnectionString %>" SelectCommand="SELECT [MerchID], [MerchName], [MerchPrice], [MerchDescn], [MerchNum], [ProvideID], [BeginDate], [ToDate] FROM [MerchInfo]"></asp:SqlDataSource>
        </td>
    </tr>
</table>
</asp:Content>
<asp:Content ID="Content4" ContentPlaceHolderID="ContentPlaceHolder3" Runat="Server">
</asp:Content>
<asp:Content ID="Content5" ContentPlaceHolderID="ContentPlaceHolder4" Runat="Server">
</asp:Content>

